/*----------------------------------上面的导航条部分适应手机端-------------------------------------------*/
$('.menu.toggle').click(function () {
    $('.m-item').toggleClass('m-mobile-hide');
});


/*赞赏按钮*/
$('.timous.button')
    .popup({
        popup: $('.custom.popup'),
        on: 'click',
        position: 'bottom center'
    });
/*目录*/
$('.toc.button')
    .popup({
        popup: $('.toc-container.popup'),
        on: 'click',
        position: 'left center'
    });


/*qq弹出的效果*/
$('.qq').popup();

/*弹出微信*/
$('.wechat')
    .popup({
        popup: $('.wechat-qr'),
        position: 'bottom center'
    });


$('.ui.dropdown').dropdown();







